#include "dvr_net_app.h"
CDVR_APP dvrApp;

int main()
{
	int ret = 0;

	ret = dvrApp.Init(SIZE_KB(32),APP_SVR_PORT);
	dvrApp.StartSvr();

    dvrApp.InitMediaSvr(SIZE_KB(800),APP_MEDIA_SVR_PORT);
	dvrApp.StartMediaSvr();
	while(true)
	{
        sleep(1);
	}
	printf("Start_DVRAPP_SVR .ret %d \n",ret);
	return ret;
}
